package net.maku.module.car.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import net.maku.framework.common.utils.DateUtils;
import java.util.Date;

/**
* 业务_用车纪录
*
* @author    
*/
@Data
@Schema(description = "业务_用车纪录")
public class UsedCarsVO implements Serializable {
	private static final long serialVersionUID = 1L;

	@Schema(description = "主键")
	private Long id;

	@Schema(description = "创建人")
	private Long creator;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createTime;

	@Schema(description = "更新人")
	private Long updater;

	@Schema(description = "更新时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date updateTime;

	@Schema(description = "版本")
	private Integer version;

	@Schema(description = "删除标识")
	private Integer deleted;

	@Schema(description = "车辆id")
	private Long carId;

	@Schema(description = "申请人id")
	private Long staffId;

	@Schema(description = "出车时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date startDate;

	@Schema(description = "回车时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date endDate;

	@Schema(description = "出车地点")
	private String startSite;

	@Schema(description = "回车地点")
	private String endSite;

	@Schema(description = "用车事由")
	private String reasons;

	@Schema(description = "审批标题")
	private String approvalTitile;

	@Schema(description = "审批编号")
	private String approvalNo;

	@Schema(description = "审批状态")
	private String approvalState;

	@Schema(description = "审批人")
	private String approvalStaff;


}